translate

Translates the transformation matrix by a given distance.

Return

A new affine transformation matrix with the translation applied.

Parameters

translation

The distance to translate the matrix.


Translates the transformation matrix by a given vector.

Return

A new affine transformation matrix with the translation applied.

Parameters

translation

The vector to translate the matrix.